// store.js
import { defineStore } from 'pinia';

export const useStore = defineStore('main', {
  state: () => ({
    spinning: false
  }),
  actions: {
    toggleSpinning(newData) {
      this.spinning = newData;
    }
  }
});
